package hy.demo1.impl;

import hy.demo1.Director;
import hy.demo1.Performer;

public class Fxg implements Director {
    Performer p;//演员

    public Fxg(Performer p) {
        this.p = p;
    }

    public Fxg() {
    }

    public Performer getP() {
        return p;
    }

    public void setP(Performer p) {
        this.p = p;
    }

    @Override
    public void startPerform() {
        p.perform();
    }
}
